package cn.zy.shardbatisdemo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@MapperScan(value = "cn.zy.shardbatisdemo.mapper")//扫描mapper类
public class ShardbatisDemoApplication {

    public static void main(String[] args) {
        SpringApplication.run(ShardbatisDemoApplication.class, args);
    }

}
